<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> 
    <title> - 天地维杰网</title>
    <meta name="keywords" content="系统架构,shutdown,不与天斗,Domino,博客,程序员,架构师,笔记,技术,分享,java,Redis">
    
    <meta property="og:title" content="">
    <meta property="og:site_name" content="天地维杰网">
    <meta property="og:image" content="/img/author.jpg"> 
    <meta name="title" content=" - 天地维杰网" />
    <meta name="description" content="天地维杰网 | 博客 | 软件 | 架构 | Java "> 
    <link rel="shortcut icon" href="http://www.shutdown.cn/img/favicon.ico" />
    <link rel="apple-touch-icon" href="http://www.shutdown.cn/img/apple-touch-icon.png" />
    <link rel="apple-touch-icon-precomposed" href="http://www.shutdown.cn/img/apple-touch-icon.png" />
    <link href="http://www.shutdown.cn/js/vendor/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css" />
    <link href="http://www.shutdown.cn/js/vendor/fancybox/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css" />
    <link href="http://www.shutdown.cn/css/main.css" rel="stylesheet" type="text/css" />
    <link href="http://www.shutdown.cn/css/syntax.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" id="hexo.configuration">
  var NexT = window.NexT || {};
  var CONFIG = {
    scheme: 'Pisces',
    sidebar: {"position":"left","display":"post"},
     fancybox: true, 
    motion: true
  };
</script>
</head>
<body itemscope itemtype="http://schema.org/WebPage" lang="zh-Hans">
<div class="container one-collumn sidebar-position-left page-home  ">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"> <div class="site-meta  custom-logo ">

  <div class="custom-logo-site-title">
    <a href="http://www.shutdown.cn"  class="brand" rel="start">
      <span class="logo-line-before"><i></i></span>
      <span class="site-title">天地维杰网</span>
      <span class="logo-line-after"><i></i></span>
    </a>
  </div>
  <p class="site-subtitle">人如秋鸿来有信，事若春梦了无痕</p>
</div>

<div class="site-nav-toggle">
  <button>
    <span class="btn-bar"></span>
    <span class="btn-bar"></span>
    <span class="btn-bar"></span>
  </button>
</div>

<nav class="site-nav">
    <ul id="menu" class="menu">
      
      
        <li class="menu-item ">
          <a href="http://www.shutdown.cn/" rel="section">
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br />首页
          </a>
        </li>
      
        <li class="menu-item ">
          <a href="http://www.shutdown.cn/categories/redis/" rel="section">
              <i class="menu-item-icon fa fa-fw fa-battery-full"></i> <br />Redis
          </a>
        </li>
      
        <li class="menu-item ">
          <a href="http://www.shutdown.cn/categories/java/" rel="section">
              <i class="menu-item-icon fa fa-fw fa-coffee"></i> <br />java
          </a>
        </li>
      
        <li class="menu-item ">
          <a href="http://www.shutdown.cn/categories/linux/" rel="section">
              <i class="menu-item-icon fa fa-fw fa-linux"></i> <br />linux
          </a>
        </li>
      
        <li class="menu-item ">
          <a href="http://www.shutdown.cn/categories/daily/" rel="section">
              <i class="menu-item-icon fa fa-fw fa-bug"></i> <br />日常问题
          </a>
        </li>
      
        <li class="menu-item ">
          <a href="http://www.shutdown.cn/categories/spring/" rel="section">
              <i class="menu-item-icon fa fa-fw fa-child"></i> <br />Spring和Springboot
          </a>
        </li>
      
        <li class="menu-item ">
          <a href="http://www.shutdown.cn/categories/spring/" rel="section">
              <i class="menu-item-icon fa fa-fw fa-fire"></i> <br />Mac相关
          </a>
        </li>
      
        <li class="menu-item ">
          <a href="http://www.shutdown.cn/categories/middleware/" rel="section">
              <i class="menu-item-icon fa fa-fw fa-gavel"></i> <br />中间件
          </a>
        </li>
      
        <li class="menu-item ">
          <a href="http://www.shutdown.cn/categories/jiagou/" rel="section">
              <i class="menu-item-icon fa fa-fw fa-rocket"></i> <br />架构
          </a>
        </li>
      
        <li class="menu-item ">
          <a href="http://www.shutdown.cn/categories/python/" rel="section">
              <i class="menu-item-icon fa fa-fw fa-ship"></i> <br />python
          </a>
        </li>
      
        <li class="menu-item ">
          <a href="http://www.shutdown.cn/categories/front/" rel="section">
              <i class="menu-item-icon fa fa-fw fa-bolt"></i> <br />前端
          </a>
        </li>
      
        <li class="menu-item ">
          <a href="http://www.shutdown.cn/categories/jvm/" rel="section">
              <i class="menu-item-icon fa fa-fw fa-balance-scale"></i> <br />jvm
          </a>
        </li>
      
        <li class="menu-item ">
          <a href="http://www.shutdown.cn/categories/c/" rel="section">
              <i class="menu-item-icon fa fa-fw fa-battery-empty"></i> <br />c语言
          </a>
        </li>
      
        <li class="menu-item ">
          <a href="http://www.shutdown.cn/post/" rel="section">
              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br />归档
          </a>
        </li>
      
        <li class="menu-item ">
          <a href="http://www.shutdown.cn/about/" rel="section">
              <i class="menu-item-icon fa fa-fw fa-user"></i> <br />关于
          </a>
        </li>
      
      <li class="menu-item menu-item-search">
        <a href="javascript:;" class="popup-trigger"> <i class="menu-item-icon fa fa-search fa-fw"></i> <br /> 搜索</a>
      </li>
    </ul>
    <div class="site-search">
      <div class="popup">
 <span class="search-icon fa fa-search"></span>
 <input type="text" id="local-search-input">
 <div id="local-search-result"></div>
 <span class="popup-btn-close">close</span>
</div>

    </div>
</nav>

 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            
<section id="posts" class="posts-expand">
  <article class="post post-type-normal " itemscope itemtype="http://schema.org/Article">
    <header class="post-header">
      <h1 class="post-title" itemprop="name headline">
        <a class="post-title-link" href="http://www.shutdown.cn/post/myclient/" itemprop="url">
        
        </a>
      </h1>
      <div class="post-meta">
      <span class="post-time">
<span class="post-meta-item-icon">
    <i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">时间：</span>
<time itemprop="dateCreated" datetime="2016-03-22T13:04:35+08:00" content="0001-01-01">
    0001-01-01
</time>
</span> 
      
      
       <span>
&nbsp; | &nbsp;
<span class="post-meta-item-icon">
    <i class="fa fa-eye"></i>
</span>
<span class="post-meta-item-text">阅读：</span>
<span class="leancloud-visitors-count">294 字 ~2分钟</span>
</span>
      </div>
    </header>
    <div class="post-body" itemprop="articleBody">
    

    

<h1 id="cachecloud功能说明文档">CacheCloud功能说明文档</h1>

<p>登陆地址</p>

<table>
<thead>
<tr>
<th align="left">版本</th>
<th align="left">环境</th>
<th align="left">访问地址</th>
</tr>
</thead>

<tbody>
<tr>
<td align="left">v-1.0</td>
<td align="left">测试</td>
<td align="left"><a href="http://10.112.178.175:8585">http://10.112.178.175:8585</a></td>
</tr>

<tr>
<td align="left">v-1.0</td>
<td align="left">生产</td>
<td align="left"><a href="http://cachecloud.gomedc.com/manage/login">http://cachecloud.gomedc.com/</a></td>
</tr>

<tr>
<td align="left">v-2.0</td>
<td align="left">测试</td>
<td align="left"><a href="http://10.115.90.69:8081/">http://10.115.90.69:8081/</a></td>
</tr>
</tbody>
</table>

<h2 id="一-登录流程">一、登录流程</h2>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/20211018104346.png" width = 600 /> </div>

<p>GCachecloud系统使用域账号和密码进行登录，第一次登录会弹出<code>系统不存在该用户名</code>的错误，这时需要点击登录按钮下的<code>新用户注册链接</code>，登记新用户。</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/20211018105328.png" width = 600 /> </div>

<p>在登记页面填写域账户、中文名、邮箱、手机字段，点击提交申请按钮，等管理员审批通过即可（可以直接找周亚亮、姜武杰）进行审批。要联系管理员并提供需要查看集群信息的业务 key。</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/20211018112740.png" width = 600 /> </div>

<p>账户审批通过以后，就可以使用域账号和密码进行登录了，登录后可以查看拥有权限的集群信息。点击集群名称可以进入集群详细信息页面，查看集群的详情页面。</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/20211018160223.png" width = 600 /> </div>

<h2 id="二-集群详细信息">二、集群详细信息</h2>

<p>集群详情页面有集群统计信息、实例列表、集群详情、命令曲线、命令执行、接入代码、慢查询、集群拓扑、集群业务key、业务key与key数量等tag页面。</p>

<h3 id="1-集群统计信息-选项卡">（1）集群统计信息 选项卡</h3>

<p>集群统计信息tab可以查看集群相关的全局信息，以及命令统计、命中统计、网络流量、内存使用量、客户端连接等信息的分时段统计信息，可以通过选择在右上角的开始日期和结束日期后查询相应日期的统计。</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/20211018160404.png" width = 600 /> </div>

<h4 id="1-申请扩容">1)申请扩容</h4>

<p>如果集群需要申请扩容，可以点击申请扩容按钮，填写申请扩容容量和申请原因，填好后点ok按钮进行提交，等待管理员进行处理。</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/20211018163333.png" width = 600 /> </div>

<h4 id="2-申请修改配置">2)申请修改配置</h4>

<p>如果集群需要修改配置，可以点击申请修改配置按钮，在弹出的表单中填写需要修改的配置项，填写申请扩容容量和申请原因，填好后点ok按钮进行提交，等待管理员进行处理。</p>

<p><strong>通用配置项</strong></p>

<table>
<thead>
<tr>
<th>参数名</th>
<th>默认值</th>
<th>参数说明</th>
</tr>
</thead>

<tbody>
<tr>
<td>daemonize</td>
<td>no</td>
<td>是否守护进程</td>
</tr>

<tr>
<td>tcp-backlog</td>
<td>511</td>
<td>TCP连接完成队列</td>
</tr>

<tr>
<td>timeout</td>
<td>0</td>
<td>客户端闲置多少秒后关闭连接,默认为0,永不关闭</td>
</tr>

<tr>
<td>tcp-keepalive</td>
<td>0</td>
<td>检测客户端是否健康周期,默认关闭</td>
</tr>

<tr>
<td>loglevel</td>
<td>notice</td>
<td>默认普通的verbose</td>
</tr>

<tr>
<td>databases</td>
<td>16</td>
<td>可用的数据库数，默认值为16个,默认数据库为0</td>
</tr>

<tr>
<td>stop-writes-on-bgsave-error</td>
<td>no</td>
<td>bgsave出错了不停写</td>
</tr>

<tr>
<td>repl-timeout</td>
<td>60</td>
<td>master批量数据传输时间或者ping回复时间间隔,默认:60秒</td>
</tr>

<tr>
<td>repl-ping-slave-period</td>
<td>10</td>
<td>指定slave定期ping master的周期,默认:10秒</td>
</tr>

<tr>
<td>repl-disable-tcp-nodelay</td>
<td>no</td>
<td>是否禁用socket的NO_DELAY,默认关闭，影响主从延迟</td>
</tr>

<tr>
<td>repl-backlog-size</td>
<td>10M</td>
<td>复制缓存区,默认:1mb,配置为:10Mb</td>
</tr>

<tr>
<td>repl-backlog-ttl</td>
<td>7200</td>
<td>master在没有Slave的情况下释放BACKLOG的时间多久:默认:3600,配置为:7200</td>
</tr>

<tr>
<td>slave-serve-stale-data</td>
<td>yes</td>
<td>当slave服务器和master服务器失去连接后，或者当数据正在复制传输的时候，如果此参数值设置“yes”，slave服务器可以继续接受客户端的请求</td>
</tr>

<tr>
<td>slave-read-only</td>
<td>yes</td>
<td>slave服务器节点是否只读,cluster的slave节点默认读写都不可用,需要调用readonly开启可读模式</td>
</tr>

<tr>
<td>slave-priority</td>
<td>100</td>
<td>slave的优先级,影响sentinel/cluster晋升master操作,0永远不晋升</td>
</tr>

<tr>
<td>lua-time-limit</td>
<td>5000</td>
<td>Lua脚本最长的执行时间，单位为毫秒</td>
</tr>

<tr>
<td>slowlog-log-slower-than</td>
<td>10000</td>
<td>慢查询被记录的阀值,默认10毫秒</td>
</tr>

<tr>
<td>slowlog-max-len</td>
<td>128</td>
<td>最多记录慢查询的条数</td>
</tr>

<tr>
<td>hash-max-ziplist-entries</td>
<td>512</td>
<td>hash数据结构优化参数</td>
</tr>

<tr>
<td>hash-max-ziplist-value</td>
<td>64</td>
<td>hash数据结构优化参数</td>
</tr>

<tr>
<td>list-max-ziplist-entries</td>
<td>512</td>
<td>list数据结构优化参数</td>
</tr>

<tr>
<td>list-max-ziplist-value</td>
<td>64</td>
<td>list数据结构优化参数</td>
</tr>

<tr>
<td>set-max-intset-entries</td>
<td>512</td>
<td>set数据结构优化参数</td>
</tr>

<tr>
<td>zset-max-ziplist-entries</td>
<td>128</td>
<td>zset数据结构优化参数</td>
</tr>

<tr>
<td>zset-max-ziplist-value</td>
<td>64</td>
<td>zset数据结构优化参数</td>
</tr>

<tr>
<td>activerehashing</td>
<td>yes</td>
<td>是否激活重置哈希,默认:yes</td>
</tr>

<tr>
<td>client-output-buffer-limit normal</td>
<td></td>
<td>0 0 0</td>
</tr>

<tr>
<td>client-output-buffer-limit slave</td>
<td></td>
<td>512mb 128mb 60</td>
</tr>

<tr>
<td>client-output-buffer-limit pubsub</td>
<td></td>
<td>32mb 8mb 60</td>
</tr>

<tr>
<td>hz</td>
<td>10</td>
<td>执行后台task数量,默认:10</td>
</tr>

<tr>
<td>port</td>
<td>%d</td>
<td>端口</td>
</tr>

<tr>
<td>maxmemory</td>
<td>%dmb</td>
<td>当前实例最大可用内存</td>
</tr>

<tr>
<td>maxmemory-policy</td>
<td>volatile-lru</td>
<td>内存不够时,淘汰策略,默认:volatile-lru</td>
</tr>

<tr>
<td>appendonly</td>
<td>yes</td>
<td>开启append only持久化模式</td>
</tr>

<tr>
<td>appendfsync</td>
<td>everysec</td>
<td>默认:aof每秒同步一次</td>
</tr>

<tr>
<td>appendfilename</td>
<td>appendonly-%d.aof</td>
<td>aof文件名称,默认:appendonly-{port}.aof</td>
</tr>

<tr>
<td>dbfilename</td>
<td>dump-%d.rdb</td>
<td>RDB文件默认名称,默认dump-{port}.rdb</td>
</tr>

<tr>
<td>aof-rewrite-incremental-fsync</td>
<td>yes</td>
<td>aof rewrite过程中,是否采取增量文件同步策略,默认:yes</td>
</tr>

<tr>
<td>no-appendfsync-on-rewrite</td>
<td>yes</td>
<td>是否在后台aof文件rewrite期间调用fsync,默认调用,修改为yes,防止可能fsync阻塞,但可能丢失rewrite期间的数据</td>
</tr>

<tr>
<td>auto-aof-rewrite-min-size</td>
<td>64m</td>
<td>触发rewrite的aof文件最小阀值,默认64m</td>
</tr>

<tr>
<td>auto-aof-rewrite-percentage</td>
<td>%d</td>
<td>Redis重写aof文件的比例条件,默认从100开始,统一机器下不同实例按4%递减</td>
</tr>
</tbody>
</table>

<p><strong>集群模式相关配置</strong></p>

<table>
<thead>
<tr>
<th>参数名</th>
<th>默认值</th>
<th>参数说明</th>
</tr>
</thead>

<tbody>
<tr>
<td>cluster-enabled</td>
<td>yes</td>
<td>是否开启集群模式</td>
</tr>

<tr>
<td>cluster-node-timeout</td>
<td>15000</td>
<td>集群节点超时时间,默认15秒</td>
</tr>

<tr>
<td>cluster-slave-validity-factor</td>
<td>10</td>
<td>集群从节点,延迟有效性判断因子,默认10秒:(node-timeout * slave-validity-factor) + repl-ping-slave-period</td>
</tr>

<tr>
<td>cluster-migration-barrier</td>
<td>1</td>
<td>cluster主从迁移至少需要的从节点数,默认1个</td>
</tr>

<tr>
<td>cluster-config-file</td>
<td>nodes-%d.conf</td>
<td>集群配置文件名称,格式:nodes-{port}.conf</td>
</tr>

<tr>
<td>cluster-require-full-coverage</td>
<td>no</td>
<td>节点部分失败期间,其他节点是否继续工作</td>
</tr>
</tbody>
</table>

<p><strong>哨兵模式相关配置</strong></p>

<table>
<thead>
<tr>
<th>参数名</th>
<th>默认值</th>
<th>参数说明</th>
</tr>
</thead>

<tbody>
<tr>
<td>port</td>
<td>%d</td>
<td>sentinel实例端口</td>
</tr>

<tr>
<td>dir</td>
<td>/tmp</td>
<td>文件目录</td>
</tr>

<tr>
<td>sentinel monitor</td>
<td>%s %s %d %d</td>
<td>master名称定义和最少参与监控的sentinel数,格式:masterName ip port num</td>
</tr>

<tr>
<td>sentinel down-after-milliseconds</td>
<td>%s 20000</td>
<td>Sentinel判定服务器断线的毫秒数,默认:20秒</td>
</tr>

<tr>
<td>sentinel failover-timeout</td>
<td>%s 180000</td>
<td>故障迁移超时时间,默认:3分钟</td>
</tr>

<tr>
<td>sentinel parallel-syncs</td>
<td>%s 1</td>
<td>在执行故障转移时,最多有多少个从服务器同时对新的主服务器进行同步,默认:1</td>
</tr>
</tbody>
</table>

<h4 id="3-客户端统计">3) 客户端统计</h4>

<h5 id="1-耗时统计">1.耗时统计</h5>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/20211018173426.png" width = 600 /> </div>

<h5 id="2-值分布统计">2.值分布统计</h5>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/20211018174823.png" width = 600 /> </div>

<h5 id="3-异常统计">3.异常统计</h5>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/20211018174834.png" width = 600 /> </div>

<h3 id="2-实例列表-选项卡">（2）实例列表 选项卡</h3>

<p>实例列表页签机以查看当前集群的所有节点的实例列表，列表中可以显示集群的所有节点的实例信息（IP:端口），实例的运行状态，实例内存的使用情况，实例存储的对象数量，连接数，缓存命中率，碎片率，节点角色和主实例ID，其中有黑色星标的节点为主节点，没有的为从节点，从节点的主实例ID字段会展示其主实例节点的ID。</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/20211018175006.png" width = 600 /> </div>

<p>在列表中点击实例ID，可以跳转到实例的详细信息页面。</p>

<h5 id="1-实例统计信息">1)实例统计信息</h5>

<p>可以查看到实例的实时状态信息。</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/20211018180703.png" width = 600 /> </div>

<h5 id="2-拓扑结构">2) 拓扑结构</h5>

<p>实例扑结构展示与集群的实例列表展示的拓扑结构相同</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/20211018181035.png" width = 600 /> </div>

<h5 id="3-慢查询分析">3) 慢查询分析</h5>

<p>展示该实例的慢查询的数据列表。包括执行命令、耗时、执行时间等信息。</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/20211018182056.png" width = 600 /> </div>

<h5 id="4-配置查询">4)配置查询</h5>

<p>展示该实例当前配置，点击配置修改申请，可以申请修改当前实例的配置，需管理员审核。</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/20211018183204.png" width = 600 /> </div>

<h5 id="5-连接信息">5)连接信息</h5>

<p>可以查看当前实例的连接信息，比如下图，有两个连接，一个连接是slave节点的连接，一个连接是cachecloud服务的连接。</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/20211018185644.png" width = 600 /> </div>

<h5 id="6-故障报警">6)故障报警</h5>

<p>查看实例的故障情况信息</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/20211018185857.png" width = 600 /> </div>

<h5 id="7-命令曲线">7)命令曲线</h5>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/20211018190056.png" width = 600 /> </div>

<h5 id="8-命令执行">8)命令执行</h5>

<p>可以在当前实例上执行一些安全的只读的命令。</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/20211018190229.png" width = 600 /> </div>

<h3 id="3-集群详情-选项卡">（3）集群详情 选项卡</h3>

<p>在当前页面可以查看集群的详情信息和报警指标。可以对可以查看和操作当前集群的用户进行编辑，可以添加集群报警的接收用户，调整集群报警的配置。</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/20211018190459.png" width = 600 /> </div>

<p>点击管理操作下的<code>添加报警接收用户</code>按钮，会弹出添加报警用户窗口，输入用户的域账号后点击ok，即可添加用户到报警用户，（<font color=red>PS:用户必须已经申请cachecloud权限</font>）</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/20211103101701.png" width = 600 /> </div>

<p>点击管理操作下的<code>集群报警配置</code> 按钮，将弹出报警阀值修改窗口，其中包括内存报警阀值和客户端连接数报警阀值。</p>

<ul>
<li>内存报警阀值：内存使用率超过所填百分比数量则报警，如填 90说明想要内存使用率超过90%则报警。（<font color=red>PS:所填数值应为整数，如果不需要报警填 100以上的数字</font>）</li>
<li>客户端连接数报警阀值：客户端连接数量超过所填连接数量则报警，如：想客户端连接数超过2000则报警则填2000。</li>
</ul>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/20211103102117.png" width = 600 /> </div>

<h3 id="4-命令曲线-选项卡">（4）命令曲线 选项卡</h3>

<p>在该页面可以查看筛选日期内执行次数top5的命令的执行次数统计。点击不同命令前的单选框可以查看指定命令的执行次数趋势图。</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/20211103103342.png" width = 600 /> </div>

<h3 id="5-命令执行-选项卡">（5）命令执行 选项卡</h3>

<p>可以在这个页面对该集群执行一些安全的只读的命令</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/20211103105858.png" width = 600 /> </div>

<h3 id="6-接入代码-选项卡">（6）接入代码 选项卡</h3>

<p>接入代码页面展示要接入gcache需要引用的maven，需要配置的集群的zookeeper配置，以及客户端使用的demo代码。</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/20211103110144.png" width = 600 /> </div>

<h3 id="7-慢查询-选项卡">（7）慢查询 选项卡</h3>

<p>慢查询选项会默认展示应用下每个节点近两天的慢查询，便于找到系统可能存在的瓶颈点，可以通过选择日期调整范围，Cachecloud每隔5分钟收集当前时间点的所有Redis节点的慢查询保存到MySQL，不包括这间隔的5分钟内的时间，如果在间隔的5分钟内出现大量慢查询，在慢查询统计中可能会有漏掉慢查询的可能。</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/20211103111601.png" width = 600 /> </div>

<h3 id="8-集群拓扑-选项卡">（8）集群拓扑 选项卡</h3>

<p>“集群拓扑”选项卡展示应用下所有Redis所在机器的拓扑信息，实心的方块代表主节点，同一列的空心方块代表从节点，可以观察集群中是否出现了主从节点同机器的情况，以及当前集群在某几台机器上是否启动过多的主节点的问题，该功能方便及时发现当前集群部署结构存在的问题。点击节点实例方块会跳转到实例详情信息页面。</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/20211103112814.png" width = 600 /> </div>

<h3 id="9-集群业务key-选项卡">（9）集群业务key 选项卡</h3>

<p>该选项卡下可以查看在当前集群下配置的所有的业务key的名称、namespace、原集群、读权重比、loadBalance方式的信息。</p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/20211103113440.png" width = 600 /> </div>

<h3 id="10-业务key与key数量-选项卡">（10）业务key与key数量 选项卡</h3>

<p>该选项卡下可以查看当前集群下配置的所有的业务key在最近一周（可选最近一月）内存占用和Key数量的统计图表。</p>

<p><font color=red>注意1：每天凌晨1：00采集当天数据；</font><br/>
<font color=red>注意2：数据是采样估算的，并不是精确数据；</font><br/>
<font color=red>注意3：默认显示全部业务key的数据，点击图表下方具体的一个业务key,即可显示单个业务key的趋势</font></p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/20211103113741.png" width = 600 /> </div>

<h3 id="11-业务keyqps选项卡">（11）业务keyQPS选项卡</h3>

<p>该选项卡下可以查看当前集群下配置的业务key的在指定时间段内的QPS统计信息。</p>

<p><font color=red>注意1：请选择业务key与时间区间查询QPS；</font><br/>
<font color=red>注意2：默认显示第一个业务key当天的QPS；</font><br/>
<font color=red>注意3：时间区间不得跨月；</font><br/>
<font color=red>注意4：时间区间&lt;=2天，间隔为5min，数据为5min内最高QPS; &lt;=7天，间隔为15min，数据为15min内最高QPS; &gt;7天，间隔为1h，数据为1h内最高QPS；</font><br/>
<font color=red>注意5：QPS非常小的情况，估算为0。</font></p>

<div  align="center"><img src="https://wejack639.oss-cn-beijing.aliyuncs.com/blogimages/img/20211103115125.png" width = 600 /> </div>

    </div>
    <footer class="post-footer">
     

     <div class="post-nav">
    <div class="post-nav-next post-nav-item">
    
        <a href="http://www.shutdown.cn/post/maven%E5%B0%86%E7%AC%AC%E4%B8%89%E6%96%B9jar%E5%8C%85%E4%B8%80%E8%B5%B7%E6%89%93%E5%8C%85%E5%88%B0%E9%A1%B9%E7%9B%AE-jar-%E5%8C%85%E4%B8%AD/" rel="next" title="">
        <i class="fa fa-chevron-left"></i> 
        </a>
    
    </div>

    <div class="post-nav-prev post-nav-item">
    
        <a href="http://www.shutdown.cn/post/mysql%E7%9A%84%E4%BA%8B%E5%8A%A1%E5%92%8C%E9%94%81%E6%9C%BA%E5%88%B6/" rel="prev" title="">
         <i class="fa fa-chevron-right"></i>
        </a>
    
    </div>
</div>
      
     
     
     






    </footer>
  </article>
</section>

          </div>
        </div>
        <div class="sidebar-toggle">
  <div class="sidebar-toggle-line-wrap">
    <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
    <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
    <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
  </div>
</div>
<aside id="sidebar" class="sidebar">
  <div class="sidebar-inner">

    <section class="site-overview sidebar-panel  sidebar-panel-active ">
      <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
    <img class="site-author-image" itemprop="image"
        src="http://www.shutdown.cn/img/author.jpg"
        alt="不与天斗Domino" />
    <p class="site-author-name" itemprop="name">不与天斗Domino</p>
    <p class="site-description motion-element" itemprop="description"> 
        Programmer &amp; Architect</p>
</div>
      <nav class="site-state motion-element">
    <div class="site-state-item site-state-posts">
      <a href="http://www.shutdown.cn/post/">
        <span class="site-state-item-count">169</span>
        <span class="site-state-item-name">日志</span>
      </a>
    </div>
    <div class="site-state-item site-state-categories">    
        <a href="http://www.shutdown.cn/categories/">      
         
        <span class="site-state-item-count">12</span>
        
        <span class="site-state-item-name">分类</span>
        
        </a>
    </div>

    <div class="site-state-item site-state-tags">
        <a href="http://www.shutdown.cn/tags/">
         
        <span class="site-state-item-count">151</span>
        
        <span class="site-state-item-name">标签</span>
        </a>
    </div>
</nav>
      
      

      

      <div class="links-of-blogroll motion-element inline">
<script type="text/javascript" src="//rf.revolvermaps.com/0/0/8.js?i=&amp;m=0&amp;s=220&amp;c=ff0000&amp;cr1=ffffff&amp;f=arial&amp;l=33&amp;bv=35" async="async"></script>
</div>

    </section>
    
  </div>
</aside>

      </div>
    </main>
   
    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright" >
  <span itemprop="copyrightYear">  &copy; 
  2013 - 2022</span>
  <span class="with-love"><i class="fa fa-heart"></i></span>
  <span class="author" itemprop="copyrightHolder">天地维杰网</span>
  <span class="icp" itemprop="copyrightHolder"><a href="https://beian.miit.gov.cn/" target="_blank">京ICP备13019191号-1</a></span>
</div>
<div class="powered-by">
  Powered by - <a class="theme-link" href="http://gohugo.io" target="_blank" title="hugo" >Hugo v0.63.2</a>
</div>
<div class="theme-info">
  Theme by - <a class="theme-link" href="https://github.com/xtfly/hugo-theme-next" target="_blank"> NexT
  </a>
</div>


      </div>
    </footer>

    <div class="back-to-top">
      <i class="fa fa-arrow-up"></i>
      <span id="scrollpercent"><span>0</span>%</span>
    </div>
  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>
<script type="text/javascript" src="http://www.shutdown.cn/js/vendor/jquery/index.js?v=2.1.3"></script>
<script type="text/javascript" src="http://www.shutdown.cn/js/vendor/fastclick/lib/fastclick.min.js?v=1.0.6"></script> 
<script type="text/javascript" src="http://www.shutdown.cn/js/vendor/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>
<script type="text/javascript" src="http://www.shutdown.cn/js/vendor/velocity/velocity.min.js?v=1.2.1"></script>
<script type="text/javascript" src="http://www.shutdown.cn/js/vendor/velocity/velocity.ui.min.js?v=1.2.1"></script>
<script src="http://www.shutdown.cn/js/vendor/ua-parser-js/dist/ua-parser.min.js?v=0.7.9"></script>

<script src="http://www.shutdown.cn/js/vendor/fancybox/jquery.fancybox.pack.js?v=2.1.5"></script>

<script type="text/javascript" src="http://www.shutdown.cn/js/utils.js"></script>
<script type="text/javascript" src="http://www.shutdown.cn/js/motion.js"></script>
<script type="text/javascript" src="http://www.shutdown.cn/js/affix.js"></script>
<script type="text/javascript" src="http://www.shutdown.cn/js/schemes/pisces.js"></script>

<script type="text/javascript" src="http://www.shutdown.cn/js/scrollspy.js"></script>
<script type="text/javascript" src="http://www.shutdown.cn/js/post-details.js"></script>
<script type="text/javascript" src="http://www.shutdown.cn/js/toc.js"></script>

<script type="text/javascript" src="http://www.shutdown.cn/js/bootstrap.js"></script>

<script type="text/javascript" src="http://www.shutdown.cn/js/search.js"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX", "output/HTML-CSS"],
    tex2jax: {
      inlineMath: [ ['$','$'] ],
      displayMath: [ ['$$','$$'] ],
      processEscapes: true
    },
    "HTML-CSS": { fonts: ["TeX"] }
  });
</script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_HTMLorMML' async></script>
</body>
</html>